package com.zmwx.subject.domain.service;

import com.zmwx.subject.domain.entity.SubjectCategoryBO;

import java.util.List;

public interface SubjectCategoryDomainService {
    /**
     * 新增分类
     * @param subjectCategorybo
     */
    void  add (SubjectCategoryBO subjectCategorybo);

    /**
     * 查询分类
     * @return
     */
    List<SubjectCategoryBO> queryPrimaryCategory(SubjectCategoryBO subjectCategorybo);

    /**
     * 查询岗位大类
     * @param subjectCategorybo
     * @return
     */
    List<SubjectCategoryBO> queryCategory(SubjectCategoryBO subjectCategorybo);

    /**
    更新分类
     * @param subjectCategoryBo
     */
    boolean update(SubjectCategoryBO subjectCategoryBo);

    /**
     * 查询分类及标签
     * @param subjectCategoryBo
     * @return
     */
    List<SubjectCategoryBO> queryCategoryAndLable(SubjectCategoryBO subjectCategoryBo);
}
